#!/bin/sh
#create-cluster {密码} {节点IP}:{节点PORT} {节点IP}:{节点PORT} ...
./redis-cli -a $1 --cluster create ${@:2} --cluster-replicas 1